<template>
  <div class="about">
    <el-form ref="form" :model="form" label-width="80px">
      <el-form-item label="账户">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
      <el-form-item label="密码">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
      <el-form-item label="确认密码">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
      <el-form-item label="验证码">
        <el-input v-model="form.name"></el-input>
        <el-button type="primary" @click="onSubmit">获取验证码</el-button>
      </el-form-item>
      <el-button type="primary" @click="onSubmit">立即注册</el-button>
    </el-form>
  </div>
</template>
<script>
  export default {
    data() {
      return {
        form: {
          name: '',
          region: '',
          date1: '',
          date2: '',
          delivery: false,
          type: [],
          resource: '',
          desc: ''
        }
      }
    },
    methods: {
      onSubmit() {
        console.log('submit!');
      }
    }
  }
</script>
